Intent to ship: Enabling the clear search button in <input type="search"> for privileged documents

76 views
Skip to first unread message

Tim Giles

unread,
May 14, 2025, 12:24:24 AMMay 14
to firef...@mozilla.org, dev-pl...@mozilla.org

Hello all, I intend to enable the clear search button of the HTMLInputElement/<input type="search" in privileged documents at the start of Firefox 141.


What are the concerns/impacts of this change?

  • Web content will not be impacted by this change, only privileged documents will receive these improvements

  • There will be duplicate UI elements where clear search buttons have been previously implemented. These places include:

    • Firefox View

    • DevTools

    • GeckoView

  • If your team was listed in the previous point and is impacted by these changes, I will reach out to your team so that myself and the Reusable Components/Acorn Design System Engineering team can help coordinate the work to prevent visual regressions when this work lands.

  • There may be other places that will have duplicate UI elements in search inputs that I am not aware of. Please either let me know in this thread or file a bug that will block  Bug 1956634 - Enable <input type="search"> in privileged documents.

    • You can also add a patch to the stack on Bug 1956634 to help prevent visual regressions (which would be a huge help to me)


What's the motivation for this change?

  • This is being enabled as part of the Settings Redesign project, but anyone using `<input type="search">` in a privileged document will receive this improvement.

  • This change will improve the accessibility of the clear search button in search inputs, bring the clear search button into the Acorn Design System, and move us closer to enabling this functionality in web content.


The bug for tracking this work is  Bug 1956634 - Enable <input type="search"> in privileged documents.


Thanks all,

Tim

Reply all
Reply to author
Forward
0 new messages